package com.github.avatar.config.dubbo;

import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author Stephen Liu
 * @since 2017/6/27
 */
@ConfigurationProperties(prefix = "consumer")
public class Consumer {
    private int timeout;
    private int retries;
    private String version;
    private boolean depCheck;

    public int getTimeout() {
        return timeout;
    }

    public void setTimeout(int timeout) {
        this.timeout = timeout;
    }

    public int getRetries() {
        return retries;
    }

    public void setRetries(int retries) {
        this.retries = retries;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public boolean isDepCheck() {
        return depCheck;
    }

    public void setDepCheck(boolean depCheck) {
        this.depCheck = depCheck;
    }
}
